﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DAL;
using Model;

namespace BLL
{

    public class CampusBLL
    {
        CampusDAL camdal = new CampusDAL();
        public List<CampusInfo> GetCampus(string camName, int begin, int end, out int total)
        {
            return camdal.GetCampus(camName, begin, end, out total);
        }
        public string Add(CampusInfo campus)
        {
            return camdal.Add(campus);
        }

        public string Update(CampusInfo campus)
        {
            return camdal.Update(campus);
        }

        public string Delete(int cid)
        {
            return camdal.Delete(cid);
        }
    }
}
